﻿<%@ Page Language="C#" MasterPageFile="~/Templates/Admin.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Admin_PrivateMessage_Default" %>
<%@ Register Assembly="Jalal.Library" Namespace="Jalal.Library.Web.Control" TagPrefix="ucc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MiddleArea" Runat="Server">
<table width="100%" cellpadding="10" border="0" cellspacing="10" class="table_area">
        <tr>
            <td style="height: 20px;">
                &nbsp;
            </td>
        </tr>
        <tr>
        <td align="left">
        <a href="add-privateMessage.aspx">Add New Private Message</a>
        </td>
        </tr>
        <tr>
        <td align="center" valign="top">
         <ucc:ResponseMessage ID="uccResponse" runat="server"></ucc:ResponseMessage>
        </td>
        </tr>
        <tr>
            <td align="center" valign="top">
                <asp:GridView ID="grvPrivateMessage" runat="server" 
                    SkinID="GridView1" Width="85%">
                    <Columns>
                        <asp:BoundField DataField="senderName" HeaderText="senderName" />
                        <asp:BoundField DataField="receiverName" HeaderText="receiverName" />
                        <asp:BoundField DataField="receiverEmailID" HeaderText="receiverEmailID" />
                        <asp:BoundField DataField="subject" HeaderText="subject" />
                        <asp:BoundField DataField="isSendEmail" HeaderText="isSendEmail" />
                        <asp:BoundField DataField="isMarketPlaceMessage" HeaderText="isMarketPlaceMessage" />
                        <asp:BoundField DataField="isRead" HeaderText="isRead" />
                        <asp:BoundField DataField="isActive" HeaderText="isActive" />
                        <asp:TemplateField>
                        <ItemTemplate>
                            <a href="<%= BCGC.BLL.Helper.CustomSiteMap.EditPrivateMessage %>?id=<%#Eval("MessageID") %>">View/Edit</a>
                        </ItemTemplate>
                        </asp:TemplateField>
                       
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>

